package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.nio.file.StandardCopyOption;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 请假表
 * @TableName att_leave
 */
@TableName(value ="att_leave")
@Data
public class AttLeave implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private int id;

    /**
     * 部门id
     */
    private Integer staff_id;

    /**
     * 休假天数
     */
    private int days;

    /**
     * 休假类型
     */
    private String leave_type;

    /**
     * 0禁用，1正常，默认1
     */
    private Integer status;

    /**
     * 
     */
    private String remark;

    /**
     * 
     */
    private String start_time;

    private String cause;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private List<SysStaff> sysStaffs;

    @TableField(exist = false)
    private List<SysDept> depts;
}